package com.ruoyi.gather.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "remoteGatherProductService", value = ServiceNameConstants.GATHER_SERVICE)
public interface RemoteGatherProductService {

    /**
     * 商品上架/下架
     */
    @GetMapping("/gather/AeProduct/productOfflineOrOnline")
    R<Object> productOfflineOrOnline(@RequestParam("sellerStoreProductIds") String sellerStoreProductIds, @RequestParam("sellerId") String sellerId,@RequestParam("type") String type);

    /**
     * 获取64国信息
     */
    @GetMapping("/gather/productArea64/queryArea64ListInfo")
    R<Object> queryArea64ListInfo();

    @GetMapping("/gather/productArea64/queryArea64List")
    R<Object> queryArea64List();

    @GetMapping("/seller/sellerStoreProduct/sellerPublishProduct")
    R<Object>  sellerPublishProduct();
}
